-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Background Enhancements Part 1 #560
Conversation
will need to make some changes to reader/writer and loading logic to be able to parse which region it's in and load the correct bg
@@ -1,7 +1,9 @@ | |||
using CollapseLauncher.CustomControls; | |||
using CollapseLauncher.Extension; | |||
using CollapseLauncher.FileDialogCOM; |
Check warning
Code scanning / QDNET
Redundant using directive Warning
using CollapseLauncher.Helper; | ||
using CollapseLauncher.Helper.Animation; | ||
using CollapseLauncher.Helper.Image; |
Check warning
Code scanning / QDNET
Redundant using directive Warning
@@ -9,6 +9,7 @@ | |||
using CollapseLauncher.Helper; | |||
using CollapseLauncher.Helper.Animation; | |||
using CollapseLauncher.Helper.Image; | |||
using CollapseLauncher.Helper.Background; |
Check warning
Code scanning / QDNET
Redundant using directive Warning
...eLauncher/Classes/GameManagement/GameSettings/Universal/RegistryClass/CollapseMiscSetting.cs
Fixed
Show fixed
Hide fixed
@@ -18,6 +19,7 @@ | |||
using CommunityToolkit.WinUI.Animations; | |||
using H.NotifyIcon; | |||
using Hi3Helper; | |||
using Hi3Helper.Data; |
Check warning
Code scanning / QDNET
Redundant using directive Warning
CollapseLauncher/Classes/GameManagement/GameSettings/StarRail/RegistryClass/Model.cs
Fixed
Show fixed
Hide fixed
CollapseLauncher/XAMLs/MainApp/Pages/GameSettingsPages/StarRailGameSettingsPage.xaml.cs
Fixed
Show fixed
Hide fixed
This to prevents NRE when saving settings that is not previously fetched, in the case of HSR and GI.
and other tidbits
Main Goal
The initial goal of this PR is to bring the background changing functionality into the Quick Settings menu for easier access. This works exactly in the same way as the one in Game Settings does.
The end-goal of this change is to eventually remove the button from the Application Settings page and have it reside exclusively in Quick Settings, as background assets will be managed on a per-game and per-region basis (hence "Part 1").
PS. This feature does not require global App custom background to be enabled. Simply go to the "Additional Button" in home page (bottom right) and change the toggle and background there.
PR Status :
TODO
bool
value is not applied toToggleSwitch
for both Custom Args & Region Background togglesButton
andStackPanel
Text properties